namespace DotNetNuke.Common.Lists
{
    using System;
    using DotNetNuke.Common.Utilities;

    [Serializable]
    public class ListEntryInfo
    {
        private int _DefinitionID = 0;
        private string _Description = Null.NullString;
        private string _DisplayName = Null.NullString;
        private int _EntryID;
        private bool _HasChildren = false;
        private string _Key = Null.NullString;
        private int _Level = 0;
        private string _ListName = Null.NullString;
        private int _ParentID = 0;
        private string _ParentKey = Null.NullString;
        private int _SortOrder = 0;
        private string _Text = Null.NullString;
        private string _Value = Null.NullString;

        public int DefinitionID
        {
            get
            {
                return this._DefinitionID;
            }
            set
            {
                this._DefinitionID = value;
            }
        }

        public string Description
        {
            get
            {
                return this._Description;
            }
            set
            {
                this._Description = value;
            }
        }

        public string DisplayName
        {
            get
            {
                return this._DisplayName;
            }
            set
            {
                this._DisplayName = value;
            }
        }

        public int EntryID
        {
            get
            {
                return this._EntryID;
            }
            set
            {
                this._EntryID = value;
            }
        }

        public bool HasChildren
        {
            get
            {
                return this._HasChildren;
            }
            set
            {
                this._HasChildren = value;
            }
        }

        public string Key
        {
            get
            {
                return this._Key;
            }
            set
            {
                this._Key = value;
            }
        }

        public int Level
        {
            get
            {
                return this._Level;
            }
            set
            {
                this._Level = value;
            }
        }

        public string ListName
        {
            get
            {
                return this._ListName;
            }
            set
            {
                this._ListName = value;
            }
        }

        public int ParentID
        {
            get
            {
                return this._ParentID;
            }
            set
            {
                this._ParentID = value;
            }
        }

        public string ParentKey
        {
            get
            {
                return this._ParentKey;
            }
            set
            {
                this._ParentKey = value;
            }
        }

        public int SortOrder
        {
            get
            {
                return this._SortOrder;
            }
            set
            {
                this._SortOrder = value;
            }
        }

        public string Text
        {
            get
            {
                return this._Text;
            }
            set
            {
                this._Text = value;
            }
        }

        public string Value
        {
            get
            {
                return this._Value;
            }
            set
            {
                this._Value = value;
            }
        }
    }
}

